<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: lenovo
  Date: 2021/11/25
  Time: 16:38
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>

<head>
    <title>error</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>404页面</title>
    <link href="css/bootstrap.min.css" rel="stylesheet">
    <link href="css/font-awesome.min.css" rel="stylesheet" >
    <link href="css/animate.min.css" rel="stylesheet">
    <link href="css/style.min.css" rel="stylesheet">
    <base target="_self">
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css"
          integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">
    <style>
        a{
            text-decoration: none;
            color: grey;
        }
        a:hover{
            text-decoration: none;
            color: grey;
        }
    </style>
</head>
<title>404</title>
<body>
    <h2 style="text-align: center;color: red;">你要访问的页面，已经飞往火星！</h2>

    <div class="middle-box text-center animated fadeInDown" >
        <h1>404</h1>
        <h3> 页面未能够找到！! !</h3>
        <div>
            抱歉，页面好像去火星啦！
            <button class="btn btn-default">
                <a href="${pageContext.request.contextPath}/user/loginPage">重新登录</a>
            </button>
            <c:if test="${sessionScope.userSession != null}">
                <button class="btn btn-default">
                    <a href="${pageContext.request.contextPath}/user/main">返回首页</a>
                </button>
            </c:if>
        </div>
    </div>

    <script src="${pageContext.request.contextPath}/webjars/jquery/3.6.0/jquery.js"></script>
    <script type="text/javascript">
        if (top.location !== self.location) {
            top.location=self.location;
        }
    </script>

</body>
</html>
